﻿<%@ Page Language="C#" MasterPageFile="/_catalogs/masterpage/Eneta.Profile.master"
    Inherits="Eneta.Portal.Profiles.EnetaProfilePage,Eneta.Portal.Profiles,Version=1.0.0.0,Culture=neutral,PublicKeyToken=53d887a3f906cc2b"
    meta:progid="SharePoint.WebPartPage.Document" %>

<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="Toolbar" Src="/_controltemplates/Toolbar.ascx" %>
<%@ Register TagPrefix="ENETA" TagName="ProfileLiteratureListControl" Src="/_controltemplates/ProfileLiteratureListControl.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <div class="blog-head">
        <div class="user-foto" style="float: left">
            <a href="#">
                <asp:Image runat="server" ID="titleImage" Width="32" Height="32"></asp:Image>
            </a>
        </div>
        <h2>
            <a href="#">
                <asp:Label runat="server" ID="titleLabel"></asp:Label></a></h2>
        <asp:PlaceHolder ID="AddButtons" runat="server" visible="false">
        <ul id="profile-nav">
            <li><span class="open-submenu">&nbsp;</span> <a href="/uudised/teated/addannouncement.aspx">
                Lisa teade</a>
                <div>
                    <ul>
                        <!--<li><a href="#">Lisa ajakiri</a></li-->
                        <li><a href="/firmad/edit.aspx">Lisa firma</a></li>
                        <li><a href="/addblog.aspx">Lisa blogi</a></li>
                    </ul>
                </div>
            </li>
        </ul>
        </asp:PlaceHolder>
        <!--div style="float:right;margin-right:20px;">
		
	</div-->
    </div>
    <div class="content-info-area">
        <div class="slide-box warning" runat="server" id="MessageBox">
            <div class="slide-box-center">
                <div class="slide-box-bottom">
                    <a class="close" href="#">close</a>
                    <div>
                        <p>
                            <asp:Label runat="server" ID="MessageLabel"></asp:Label></p>
                    </div>
                </div>
            </div>
        </div>
        <h3 runat="server" id="youTitle">
            Sina</h3>
        <div class="enter-information">
            <fieldset>
                <!--input-holder start-->
                <div class="input-holder profile">
                    <!--info-row start-->
                    <div class="info-row">
                        <div class="title">
                            <h5>
                                Kasutajatunnus</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="headerUserNameLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-||-info-row start-->
                    <div class="info-row failed-info" runat="server" id="firstNameContainer">
                        <!--div class="error-message"> 
						<p>kohustusik väli</p> 
					</div-->
                        <div class="title">
                            <h5>
                                Eesnimi</h5>
                        </div>
                        <!--div class="error-note"> 
						<span>*</span> 
					</div-->
                        <div class="information-main">
                            <asp:Label runat="server" ID="firstNameLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-||-info-row start-->
                    <div class="info-row failed-info" runat="server" id="lastNameContainer">
                        <div class="title">
                            <h5>
                                Perenimi</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="lastNameLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-||-info-row start-->
                    <div class="info-row" runat="server" id="emailContainer">
                        <div class="title">
                            <h5>
                                E-posti aadress</h5>
                        </div>
                        <div class="information-main">
                            <asp:HyperLink runat="server" ID="emailAddressLink"></asp:HyperLink>
                        </div>
                    </div>
                    <!--info-row end-||-info-row start-->
                    <div class="info-row sina-ja" runat="server" id="interestsContainer">
                        <div class="title">
                            <h5>
                                Sina ja IT</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="interestsLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-->
                </div>
                <fieldset>
                    <div class="commandContainer">
                        <asp:Button runat="server" ID="editButton" Text="Muuda" CssClass="fixSmallButton"
                            Style="width: 100px;"></asp:Button>
                        <div class="fixLastChanged">
                            Viimati muudetud
                            <asp:Label runat="server" ID="profileLastChanged"></asp:Label>
                        </div>
                    </div>
                </fieldset>
                <!--input-holder end-||-input-holder start-->
                <div class="input-holder" runat="server" id="contactsContainer">
                    <!--info-row start-->
                    <div class="info-row" runat="server" id="aboutMeContainer">
                        <div class="title">
                            <h5>
                                Sina ja Microsoft</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="aboutMeLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-||-info-row start-->
                    <div class="info-row veebileht" runat="server" id="blogContainer">
                        <div class="title">
                            <h5>
                                Veeb, blog</h5>
                        </div>
                        <div class="information-main">
                            <div class="veebileht-row">
                                <asp:HyperLink runat="server" ID="blogLink"></asp:HyperLink>
                            </div>
                        </div>
                    </div>
                    <!--info-row end-||-info-row start-->
                    <div class="info-row" runat="server" id="addressContainer">
                        <div class="title">
                            <h5>
                                Postiaadress</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="addressLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-||-info-row start-->
                    <div class="info-row" runat="server" id="phoneContainer">
                        <div class="title">
                            <h5>
                                Telefon</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="phoneLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-->
                </div>
                <!--input-holder end-||-input-holder start-->
                <div class="input-holder" runat="server" id="educationContainer">
                    <!--info-row start-->
                    <div class="info-row" runat="server" id="schoolContainer">
                        <div class="title">
                            <h5>
                                Kool</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="schoolLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-||-info-row start-->
                    <div class="info-row" runat="server" id="fieldOfStudyContainer">
                        <div class="title">
                            <h5>
                                Eriala</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="fieldOfStudyLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-->
                </div>
                <!--input-holder end-||-input-holder start-->
                <div class="input-holder" runat="server" id="jobContainer">
                    <!--info-row start-->
                    <div class="info-row" runat="server" id="companyContainer">
                        <div class="title">
                            <h5>
                                Firma</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="companyLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-||-info-row start-->
                    <div class="info-row" runat="server" id="jobTitleContainer">
                        <div class="title">
                            <h5>
                                Amet</h5>
                        </div>
                        <div class="information-main">
                            <asp:Label runat="server" ID="jobTitleLabel"></asp:Label>
                        </div>
                    </div>
                    <!--info-row end-->
                </div>
            </fieldset>
            <a name="firmad"></a>
            <h3 runat="server" id="companiesTitle">
                Sinu firmad</h3>
            <asp:Repeater runat="server" ID="companiesRepeater">
                <ItemTemplate>
                    <fieldset>
                        <div class="input-holder" runat="server" id="companiesHolder">
                            <div class="info-row">
                                <div class="title">
                                    <h5>
                                        Firma</h5>
                                    <a runat="server" id="companyAnchor"></a>
                                </div>
                                <div class="information-main">
                                    <asp:Label runat="server" ID="companyName"></asp:Label>
                                    <asp:Label runat="server" ID="companyStatus" Font-Italic="true"></asp:Label>
                                    <asp:Label runat="server" ID="companyStatusComment"></asp:Label>
                                </div>
                            </div>
                            <div class="info-row" runat="server" id="companyUrlContainer">
                                <div class="title">
                                    <h5>
                                        Eneta aadress</h5>
                                </div>
                                <div class="information-main">
                                    <asp:HyperLink runat="server" ID="companyUrl"></asp:HyperLink>
                                </div>
                            </div>
                            <div class="info-row">
                                <div class="title">
                                    <h5>
                                        Muudetud</h5>
                                </div>
                                <div class="information-main">
                                    <asp:Label runat="server" ID="companyLastChanged"></asp:Label>
                                </div>
                            </div>
                            <div class="info-row" runat="server" id="rejectContainer">
                                <div class="title">
                                    <h5>
                                        Keeldumise põhjus</h5>
                                </div>
                                <div class="information-main">
                                    <asp:TextBox runat="server" ID="rejectReasonField" TextMode="MultiLine" Rows="5"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div runat="server" id="buttonContainer" class="commandContainer">
                            <asp:Button runat="server" ID="editCompanyButton" Text="Muuda" CssClass="fixSmallButton">
                            </asp:Button>
                            &nbsp;
                            <asp:Button runat="server" ID="acceptCompanyButton" Text="Kinnita" CssClass="fixSmallButton">
                            </asp:Button>
                            &nbsp;
                            <asp:Button runat="server" ID="rejectCompanyButton" Text="Keeldu" CssClass="fixSmallButton">
                            </asp:Button>
                        </div>
                    </fieldset>
                    &nbsp;
                </ItemTemplate>
            </asp:Repeater>
            <a name="blogid"></a>
            <h3 runat="server" id="blogsTitle">
                Sinu blogid</h3>
            <asp:Repeater runat="server" ID="blogsRepeater">
                <ItemTemplate>
                    <fieldset>
                        <div class="input-holder" runat="server" id="blogsHolder">
                            <div class="info-row">
                                <div class="title">
                                    <h5>
                                        Blogi</h5>
                                    <a runat="server" id="blogAnchor"></a>
                                </div>
                                <div class="information-main">
                                    <span><a href="#" runat="server" id="blogName"></a></span>
                                    <asp:Label runat="server" ID="blogStatus" Font-Italic="true"></asp:Label>
                                    <asp:Label runat="server" ID="blogStatusComment"></asp:Label>
                                </div>
                            </div>
                            <div class="info-row">
                                <div class="title">
                                    <h5>
                                        Aadress</h5>
                                </div>
                                <div class="information-main">
                                    <asp:HyperLink runat="server" ID="blogUrl"></asp:HyperLink>
                                </div>
                            </div>
                            <div class="info-row">
                                <div class="title">
                                    <h5>
                                        RSS-aadress</h5>
                                </div>
                                <div class="information-main">
                                    <asp:HyperLink runat="server" ID="rssUrl"></asp:HyperLink>
                                </div>
                            </div>
                            <div class="info-row">
                                <div class="title">
                                    <h5>
                                        Tutvustus</h5>
                                </div>
                                <div class="information-main">
                                    <asp:Label runat="server" ID="blogDescription"></asp:Label>
                                </div>
                            </div>
                            <div class="info-row">
                                <div class="title">
                                    <h5>
                                        Esimese postituse kuupäev</h5>
                                </div>
                                <div class="information-main">
                                    <asp:Label runat="server" ID="firstEntryDate"></asp:Label>
                                </div>
                            </div>
                            <div class="info-row">
                                <div class="title">
                                    <h5>
                                        Muudetud</h5>
                                </div>
                                <div class="information-main">
                                    <asp:Label runat="server" ID="blogLastChanged"></asp:Label>
                                </div>
                            </div>
                            <div class="info-row" runat="server" id="rejectContainer">
                                <div class="title">
                                    <h5>
                                        Keeldumise põhjus</h5>
                                </div>
                                <div class="information-main">
                                    <asp:TextBox runat="server" ID="rejectReasonField" TextMode="MultiLine" Rows="5"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div runat="server" id="buttonContainer" class="commandContainer">
                            <asp:Button runat="server" ID="editBlogButton" Text="Muuda" CssClass="fixSmallButton">
                            </asp:Button>
                            <asp:Button runat="server" ID="acceptBlogButton" Text="Kinnita" CssClass="fixSmallButton">
                            </asp:Button>
                            <asp:Button runat="server" ID="rejectBlogButton" Text="Keeldu" CssClass="fixSmallButton">
                            </asp:Button>
                        </div>
                    </fieldset>
                    &nbsp;
                </ItemTemplate>
            </asp:Repeater>
            <a name="Teated"></a>
            <h3 runat="server" id="AnnouncementTitle">
                Minu Teated
            </h3>
            <asp:MultiView ID="AnnouncementView" runat="server" ActiveViewIndex="1">
                <asp:View ID="AdminView" runat="server">
                    <asp:Repeater runat="server" ID="AnnouncementRepeater">
                        <ItemTemplate>
                            <fieldset>
                                <div class="input-holder" runat="server" id="announcementHolder">
                                    <div class="info-row">
                                        <div class="title">
                                            <h5 id="announcementDate" runat="server">
                                            </h5>
                                            <a runat="server" id="announcementAnchor"></a>
                                        </div>
                                        <div class="information-main">
                                            <span><a href="#" runat="server" id="_announcementTitle"></a></span>
                                            <asp:Label runat="server" ID="_announcementStatus" Font-Italic="true"></asp:Label>
                                            <asp:Label runat="server" ID="_announcementStatusComment"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="info-row" runat="server" id="rejectContainer">
                                        <div class="title">
                                            <h5>
                                                Keeldumise põhjus</h5>
                                        </div>
                                        <div class="information-main">
                                            <asp:TextBox runat="server" ID="rejectReasonField" TextMode="MultiLine" Rows="5"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <div runat="server" id="buttonContainer" class="commandContainer">
                                    <asp:Button runat="server" ID="editAnnouncementButton" Text="Muuda" CssClass="fixSmallButton">
                                    </asp:Button>
                                    <asp:Button runat="server" ID="acceptAnnouncementButton" Text="Kinnita" CssClass="fixSmallButton">
                                    </asp:Button>
                                    <asp:Button runat="server" ID="rejectAnnouncementButton" Text="Keeldu" CssClass="fixSmallButton">
                                    </asp:Button>
                                </div>
                            </fieldset>
                            &nbsp;
                        </ItemTemplate>
                    </asp:Repeater>
                </asp:View>
                <asp:View ID="UserView" runat="server">
                    <fieldset>
                        <div class="input-holder" runat="server" id="announcementHolder">
                    <asp:Repeater runat="server" ID="AnnouncementUserRepeater">
                        <ItemTemplate>
                            <div class="info-row">
                                <div class="title">
                                    <h5 id="userAnnouncementDate" runat="server"></h5>
                                    <a runat="server" id="userAnnouncementAnchor"></a>
                                </div>
                                <div class="information-main">
                                    <span><a href="#" runat="server" id="_userAnnouncementTitle"></a></span>
                                    <asp:Label runat="server" ID="_userAnnouncementStatus" Font-Italic="true"></asp:Label>
                                    <asp:Label runat="server" ID="_userAnnouncementStatusComment"></asp:Label>
                                </div>
                            </div>
                        </ItemTemplate>                        
                    </asp:Repeater>
                    </div> </fieldset>
                </asp:View>
            </asp:MultiView>
            <%-- Profile Books listing--%>
            <ENETA:ProfileLiteratureListControl ID="profileBooksListing" runat="server" WebUrl="/oppimine/raamatud/"
                ContentTypeName="Raamat" Title="Raamatud" EditPage="/oppimine/raamatud/edit.aspx" />
            <%-- Profile Books listing END--%>
            <%-- Profile Magazines listing--%>
            <ENETA:ProfileLiteratureListControl ID="profileMagazinesListing" runat="server" WebUrl="/oppimine/ajakirjad/"
                ContentTypeName="Ajakiri" Title="Ajakirjad" EditPage="/oppimine/ajakirjad/edit.aspx" />
            <%-- Profile Magazines listing END--%>
            <div class="slide-box" runat="server" id="promoBox">
                <div class="slide-box-center">
                    <div class="slide-box-bottom">
                        <a class="close" href="#">close</a>
                        <div>
                            <p>
                                Esimestele profiili lõpuni täitjatele <a href="/kommuun/eneta/Lehed/kampaania.aspx">3000-krooni eest e-koolitusi!</a></p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
<%--asp:Content ContentPlaceHolderId="PlaceHolderTitleLeftBorder" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaClass" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderBodyLeftBorder" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderTitleRightMargin" runat="server">
</asp:Content>
<%--asp:Content ContentPlaceHolderId="PlaceHolderBodyRightMargin" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaSeparator" runat="server"/></asp:Content--%>
